const crypto = require("crypto");

function md5password(password) {
  const md5 = crypto.createHash("md5");
  const newMd5 = md5.update(password).digest("hex");
  return newMd5;
}

module.exports = md5password;
